<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:c="http://java.sun.com/jsp/jstl/core">

<ui:composition template="/public/template.xhtml">

	<ui:define name="title">
		#{labels['label.login']}
	</ui:define>

	<ui:define name="content">

		<h:outputStylesheet library="css" name="style.css" />

		<h:form id="form-login">

			<p:panelGrid id="input-panel-grid" columns="2" style="border-color: #ffffff">

				<p:outputLabel id="email-label" value="#{labels['label.email']}"
					for="email-input" styleClass="label-style" />
				<p:inputText id="email-input" value="#{loginController.email}"
					required="true" styleClass="input-text-style" />

				<p:outputLabel id="senha-label" value="#{labels['label.senha']}"
					for="senha-input" styleClass="label-style" />
				<p:password id="senha-input" value="#{loginController.senha}"
					required="true" styleClass="input-text-style" />

			</p:panelGrid>
			
			<br />

			<p:commandButton id="confirmar-login-button"
				value="#{labels['botao.confirmar']}" />

		</h:form>

	</ui:define>

</ui:composition>

</html>
